function Game3SceneIntro()
{
	this.fundo = new Image();
	this.fundo.src="Imgs/game3/fundo_novo.png";
	this.start = new Image();
	this.start.src="imgs/game3/Start.png";
	this.credits = new Image();
	this.credits.src="imgs/game3/Credits.png";
	this.selecao = new Image();
	this.selecao.src="imgs/game3/selecao.png";
	this.selecionado = 0;
	this.go = false;
	this.song1 = new Audio("sounds/game3/selecionar1.wav")



	
	this.update=function()
   	{
   		
   	};
   
   	this.draw=function()
	{
		screen.drawImage(this.fundo, 0, 0);
		if(this.selecionado == 1)
		{
		screen.drawImage(this.selecao, 243, 595);
		}
		if(this.selecionado == 0)
		{
		screen.drawImage(this.selecao, 243, 395);
		}
		screen.drawImage(this.start, 250, 400);
		screen.drawImage(this.credits, 250, 600);
		
	};
   
   	this.mouse_down=function(mouse)
   	{
   		console.log("INTRO mouse X " + mouse.x + " mouse Y " + mouse.y );
   	
   		
   	};
   
   	this.key_down=function(key)
   	   	{
   	   		if(key.keyCode == 40)
    		{
    			if(this.selecionado < 1)
    			{
    				this.selecionado += 1;
    			}
    			
    		}
    			if(key.keyCode == 38)
    			{
    				if(this.selecionado > 0)
    				{	
    					this.selecionado -= 1;
    				}
    			}    			
    		
    		if(key.keyCode == 13)
    		{
    				if(this.selecionado == 0)
    				{
    					game3.currentGameScene = game3.GAMESCENE.LEVEL1;
    					this.song1.play();
    					//Cena_atual = CENAS.LEVEL1;
    				}
    				
    				if(this.selecionado == 1)
    				{
    					//game3.currentGameScene = game3.GAMESCENE.LEVEL1;
    					
    					//Cena_atual = CENAS.CREDITOS
    					
    					currentScene = SCENE.MENU;	
    					
    					this.selecionado = 0;
    				}
    				
    				if(this.selecionado == 2)
    				{
    						
    				}
    		}


   		console.log("INTRO keyCode " + key.keyCode );
   	
   	//	Cena_atual = CENAS.LEVEL1;
   	};
   	
   	this.mouse_up=function(mouse)
  	{
  		console.log("INTRO mouse X " + mouse.x + " mouse Y " + mouse.y );
  	};
  
  	this.key_up=function(key)
  	{
  		
  		console.log("INTRO keyCode " + key.keyCode );
  	};
   
}